package com.doubao.user.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;

/**
 * Token充值请求
 */
@Data
@Schema(description = "Token充值请求")
public class RechargeTokenRequest {

    /**
     * 充值Token数量
     */
    @NotNull(message = "充值数量不能为空")
    @Min(value = 1, message = "充值数量必须大于0")
    @Schema(description = "充值token数量", required = true, example = "10000")
    private Integer tokenAmount;

    /**
     * 支付订单ID (可选，如果已经支付可以关联订单)
     */
    @Schema(description = "支付订单ID", required = false)
    private String orderId;
}